package com.dong.order;

import com.dong.rule.MyselfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @author DJ
 * @description
 * @date 2021/12/25 10:38 下午
 **/
@SpringBootApplication
@EnableEurekaClient
// @RibbonClient(name = "cloud-payment-service", configuration = MyselfRule.class) // 指定负载均衡的服务实例名和使用的负载均衡算法
public class OrderMainApplication80 {

    public static void main(String[] args) {
        SpringApplication.run(OrderMainApplication80.class, args);
    }
}
